package com.cn.wanxi.util.dao.impl;

import com.cn.wanxi.util.dao.INewsDao;
import com.cn.wanxi.util.model.NewsModel;
import com.cn.wanxi.util.utils.FileUtile;
import com.cn.wanxi.util.utils.NewsUtile;

import java.util.ArrayList;
import java.util.List;

public class NewsDao implements INewsDao {
    NewsUtile newsUtile =new NewsUtile();
    @Override
    public List<NewsModel> newsmodel() {
        List<NewsModel> newsModelList =newsUtile.readNews();
        return newsModelList;
    }
}
